import org.junit.Test;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

public class QuickPasswordEncodingGenerator {


	@Test
	public void getBCrypt() {
			String password = "xiamen";
			BCryptPasswordEncoder passwordEncoder = new BCryptPasswordEncoder();
			System.out.println(passwordEncoder.encode(password));
	}

	@Test
	public void mapTest(){
		Map map  =new HashMap<String,Collection>();
		Collection a = new ArrayList();
		a.add(1);
		a.add(2);
		a.add(2);
		map.put(1,a);
		map.put(2, 3);

		System.out.println(map.get(1));
	}

}
